package com.zsh.myserver.exception;

/**
 * Copyright (C), 2020-2020
 * Author: Zhoushaohua
 * Date: 2020/4/11 15:35
 * Description: 资源未找到异常
 */
public class NotFoundException extends HttpException {

    public NotFoundException(int code) {
        setHttpStatusCode(404);//资源未找到
        setCode(code);
    }
}
